import React from "react";
const Results = ({beers}) => {
    return (
        //Fragment
      <div>
          { beers.map(beer => <li key = {beer.id}>
              {beer.title}-<img src={beer.pic}/>
          </li>)}
      </div>
    )
}
export default Results